package com.agile.major.service;

import com.agile.major.domain.MajorCoursePlan;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Service Interface for managing MajorCoursePlan.
 */
public interface MajorCoursePlanService {

    /**
     * Save a majorCoursePlan.
     *
     * @param majorCoursePlan the entity to save
     * @return the persisted entity
     */
    MajorCoursePlan save(MajorCoursePlan majorCoursePlan);

    /**
     *  Get all the majorCoursePlans.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<MajorCoursePlan> findAll(Pageable pageable);

    /**
     *  Get the "id" majorCoursePlan.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    MajorCoursePlan findOne(Long id);

    /**
     *  Delete the "id" majorCoursePlan.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);

    Page<MajorCoursePlan> likeCourses(String keyword, Pageable pageable);

}
